package me.zhengjie.modules.management.service;

import me.zhengjie.modules.management.domain.MrMaterialDtl;
import me.zhengjie.modules.management.domain.Pageable;
import me.zhengjie.modules.management.service.dto.MrMaterialDtlCriteria;

import java.util.List;
import java.util.Map;

/**
 * @program: eladmin
 * @description: 材料业务层
 * @author: ming.cao
 * @create: 2020-12-09 09:56
 **/
public interface MrMaterialDtlService {
    /**
     * @title: getAllList
     * @description: 获取数据
     * @date: 2020/12/9 10:00
     * @author: ming.cao
     * @param criteria
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     */
    Map<String,Object> getAllList(MrMaterialDtlCriteria criteria, Pageable pageable);


    /**
     * @title: getMrMaterialDtlById
     * @description: 根据id获取数据
     * @date: 2020/12/10 11:36
     * @author: ming.cao
     * @param
     * @return java.util.Map<java.lang.String,java.lang.Object>
     * @throws
     */
    Map<String,Object> getMrMaterialDtlById(Integer id);
    /**
     * @title: updateMrMaterialDtl
     * @description: 更新材料
     * @date: 2020/12/9 10:00
     * @author: ming.cao
     * @param mrMaterialDtl
     * @return void
     * @throws
     */
    void updateMrMaterialDtl(MrMaterialDtl mrMaterialDtl);

    /**
     * @title: addMrMaterialDtl
     * @description: 新增材料
     * @date: 2020/12/9 10:00
     * @author: ming.cao
     * @param mrMaterialDtl
     * @return void
     * @throws
     */
    void addMrMaterialDtl(MrMaterialDtl mrMaterialDtl);

    /**
     * @title: delMrMaterialDtl
     * @description: 删除材料
     * @date: 2020/12/9 10:01
     * @author: ming.cao
     * @param ids
     * @return void
     * @throws
     */
    void delMrMaterialDtl(List<Integer> ids);
}
